﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DFW;

namespace DarumaFramework_CSharp
{
    public partial class FR_FISCAL_iCFBPVender_ECF_Daruma : Form
    {
        public FR_FISCAL_iCFBPVender_ECF_Daruma()
        {
            InitializeComponent();
        }

        private void BT_Fechar_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void BT_Enviar_Click(object sender, EventArgs e)
        {
            string Str_Descricao, Str_Aliquota, Str_Valor, Str_TipoAcrescDesc, Str_ValorAcrescDesc;

            Str_Descricao = TB_Descricao.Text.Trim();
            Str_Aliquota = TB_Aliquota.Text.Trim();
            Str_Valor = TB_Valor.Text.Trim();
            Str_TipoAcrescDesc = CBO_TipoAcrescDesc.Text.Trim();
            Str_ValorAcrescDesc = TB_ValorAcrescDesc.Text.Trim();
        
            Declaracoes.iRetorno = Declaracoes.iCFBPVender_ECF_Daruma(

                    Str_Aliquota, Str_Valor, Str_TipoAcrescDesc, Str_ValorAcrescDesc, Str_Descricao);

            Declaracoes.TrataRetorno(Declaracoes.iRetorno);


        }
     
    }
}
